package ibms_rcp.model;

import java.util.Date;

/**
 * 租赁信息
 * @author diamond-wang
 *
 */
public class Lease {
	/*ID*/
	private long id;
	/*楼编号*/
	private long buildingId;
	/*楼层编号*/
	private long floorId;
	/*房间编号*/
	private long roomId;
	/*始租时间*/
	private String fromDate;
	/*到租时间*/
	private String toDate;
	/*开始收费时间*/
	private String chargeDate;
	/*预收费*/
	private boolean preCharge;
	/*物业费预收费*/
	private boolean propCharge;
	/*电费预收费*/
	private boolean elecCharge;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getBuildingId() {
		return buildingId;
	}
	public void setBuildingId(long buildingId) {
		this.buildingId = buildingId;
	}
	public long getFloorId() {
		return floorId;
	}
	public void setFloorId(long floorId) {
		this.floorId = floorId;
	}
	public long getRoomId() {
		return roomId;
	}
	public void setRoomId(long roomId) {
		this.roomId = roomId;
	}
	public String getFromDate() {
		return fromDate;
	}
	public void setFromDate(String fromDate) {
		this.fromDate = fromDate;
	}
	public String getToDate() {
		return toDate;
	}
	public void setToDate(String toDate) {
		this.toDate = toDate;
	}
	public String getChargeDate() {
		return chargeDate;
	}
	public void setChargeDate(String chargeDate) {
		this.chargeDate = chargeDate;
	}
	public boolean isPreCharge() {
		return preCharge;
	}
	public void setPreCharge(boolean preCharge) {
		this.preCharge = preCharge;
	}
	public boolean isPropCharge() {
		return propCharge;
	}
	public void setPropCharge(boolean propCharge) {
		this.propCharge = propCharge;
	}
	public boolean isElecCharge() {
		return elecCharge;
	}
	public void setElecCharge(boolean elecCharge) {
		this.elecCharge = elecCharge;
	}
	
	public String toString(){
		return "Lease Instance: buildingId="+buildingId
				+", floorId="+floorId +", roomId="+roomId
				+", fromDate="+fromDate +", toDate="+toDate +", chargeDate="+chargeDate
				+", preCharge="+preCharge +", propCharge="+propCharge +", elecCharge="+elecCharge;
	}
	
}
